﻿-- =============================================
-- Author:		Vaja Kvariani
-- Create date: 22/07/2007
-- Description:	
-- =============================================
CREATE TRIGGER [dbo].[TRi_stSysObjects] 
   ON  [dbo].[stSysObjects] 
   FOR INSERT
AS 
BEGIN
	SET NOCOUNT ON;
UPDATE       a
SET              a.axID = binary_checksum(UPPER(i.name))
FROM           stSysObjects AS a INNER JOIN
                     inserted AS i ON a.name = i.name
END


